project(Anime4KCPP_VapourSynth LANGUAGES CXX)

if(Build_VapourSynth_plugin)

    aux_source_directory(src SOURCE)
    aux_source_directory(${TOP_DIR}/Anime4KCore/src Anime4KCPPCoreSource)

    include_directories(${TOP_DIR}/Anime4KCore/include)

    add_compile_definitions(BUILT_IN_KERNEL)

    add_library(${PROJECT_NAME} SHARED ${SOURCE} ${Anime4KCPPCoreSource})

    include(${TOP_DIR}/cmake/ThirdPartyForVS.cmake)

endif()
